package com.zty.DTO;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author ZTY
 * @Description 文件上传完成后回传给Client的controller的类
 * @Date 13:22 2023-12-25
 **/

@Data
public class CompleteChunkFileDTO {
    @NotBlank(message = "文件名不得为空")
    private String filename;
    @NotNull(message = "分片序号不得为空")
    private Integer chunkNo;
    //  哪一台机器
    @NotBlank(message = "存储地址不得为空")
    private String address;
    @NotBlank(message = "通信协议不得为空")
    private String schema;
    @NotBlank(message = "文件md5不得为空")
    private String md5;
}
